QT       += core gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++11

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    engines/devicefinder.cpp \
    engines/enginebase.cpp \
    engines/gstengine.cpp \
    playlist/playlistcontainer.cpp \
    ui/about.cpp \
    ui/iconloader.cpp \
    ui/mainwindow.cpp \
    main.cpp \
    widgets/fancytabwidget.cpp \
    widgets/fileview.cpp \
    widgets/fileviewlist.cpp \
    widgets/nowplayingwidget.cpp



HEADERS += \
    core/mimedata.h \
    engines/devicefinder.h \
    engines/enginebase.h \
    engines/gstengine.h \
    playlist/playlistcontainer.h \
    ui/about.h \
    ui/iconloader.h \
    ui/mainwindow.h \
    core/lazy.h \
    widgets/fancytabwidget.h \
    widgets/fileview.h \
    widgets/fileviewlist.h \
    widgets/nowplayingwidget.h



FORMS += \
    ui/about.ui \
    ui/mainwindow.ui \
    widgets/fileview.ui

TRANSLATIONS += \
    resources/zh_CN.ts

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

DISTFILES += \
    resources/sidebar_background.png \
    resources/zh_CN.qm

RESOURCES += \
    rc.qrc

CONFIG +=console
CONFIG +=C++11





INCLUDEPATH += C:\gstreamer\1.0\mingw_x86_64\include\gstreamer-1.0
INCLUDEPATH += C:\gstreamer\1.0\mingw_x86_64\include\glib-2.0
INCLUDEPATH += C:\gstreamer\1.0\mingw_x86_64\lib\glib-2.0\include
LIBS += -LC:\gstreamer\1.0\mingw_x86_64\lib -lgstreamer-1.0
LIBS += -LC:\gstreamer\1.0\mingw_x86_64\lib -lgstpbutils-1.0
LIBS += -LC:\gstreamer\1.0\mingw_x86_64\lib -lgobject-2.0


